
package com.thxrinfo.operate.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 商户余额变更记录表
 *
 * @author ct
 * @date 2023-03-15 13:42:16
 */
@Data
@TableName("t_merchant_change_log")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "商户余额变更记录表")
public class MerchantChangeLog extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="id")
    private Long id;

    /**
     * 商户id
     */
    @Schema(description ="商户id")
    private Long merchantId;

    /**
     * 变动金额
     */
    @Schema(description ="变动金额")
    private BigDecimal changeMoney;

    /**
     * 变动类型
     */
    @Schema(description ="变动类型")
    private String changeType;


    /**
     * 原因类型
     */
    @Schema(description ="原因类型")
    private String reasonType;

	@Schema(description = "变动原因")
	private String reason;

    /**
     * 变更备注id
     */
    @Schema(description ="变更备注")
    private String remarks;


}
